package com.skyline.user.model;

import java.io.Serializable;
import java.util.Date;

import com.skyline.base.type.Activity;
import com.skyline.common.util.CommonUtils;
import com.skyline.user.type.IdolType;

public class Fan implements Serializable {
	/**
	 * 关注数据表，含表id，主人id owner_id，被关注人id fans_id；
	 */
	private static final long serialVersionUID = -6701051987177631745L;
	private Long id;// fans表id
	private Long idolId;// 对象id
	private String idolNickname;
	private String idolPortrait;
	private Long fanId;// 用户id及对象的fans
	private String fanNickname;
	private String fanPortrait;
	private Activity activity;// 状态用来判断是否被删除
	private IdolType idolType;// 判断对象类型，即用户关注的是？？
	private Date createTime;
	private Boolean followed;
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getIdolNickname() {
		return idolNickname;
	}

	public void setIdolNickname(String idolNickname) {
		this.idolNickname = idolNickname;
	}

	public String getIdolPortrait() {
		return idolPortrait;
	}

	public void setIdolPortrait(String idolPortrait) {
		this.idolPortrait = idolPortrait;
	}

	public Long getIdolId() {
		return idolId;
	}

	public void setIdolId(Long idolId) {
		this.idolId = idolId;
	}

	public Long getFanId() {
		return fanId;
	}

	public void setFanId(Long fanId) {
		this.fanId = fanId;
	}

	public String getFanNickname() {
		return fanNickname;
	}

	public void setFanNickname(String fanNickname) {
		this.fanNickname = fanNickname;
	}

	public String getFanPortrait() {
		return fanPortrait;
	}

	public void setFanPortrait(String fanPortrait) {
		this.fanPortrait = fanPortrait;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public IdolType getIdolType() {
		return idolType;
	}

	public void setIdolType(IdolType idolType) {
		this.idolType = idolType;
	}

	public Date getCreateTime() {
		return CommonUtils.cloneDate(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = CommonUtils.cloneDate(createTime);
	}

	public Boolean getFollowed() {
		return followed;
	}

	public void setFollowed(Boolean followed) {
		this.followed = followed;
	}
	
}
